<template>
        <h3>parent</h3>
        <child :title="msg"/>
        <p>{{ class }}</p>
</template>

<script>
import child from './child.vue'
export default{
    data(){
        return{
            msg:"shuaige"
        }
    },
    components:{
        child
    },
    props:["class"]
}
</script>